package org.dxy.domain.game.adapter.event;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.dxy.types.enums.DomainEventEnum;

import java.time.LocalDateTime;

@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DomainEvent {
    /**
     * 事件id
     */
    private  Long eventId;


    private DomainEventEnum domainEventEnum;

    /**
     * 事件发生事件
     */
    private  LocalDateTime occurredOn;

}
